<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org">
<head>
<!--    <meta name="viewport" content="width=device-width, initial-scale=1" />-->
    <meta charset="UTF-8">
    <title>新华纸条</title>
    <link href="../static/css/insert.css" rel="stylesheet" type="text/css"/>
</head>
<body class="container">
<div >
    <form th:action="@{/love/addUser}" method="post"   enctype="multipart/form-data">
        <table>

            <tr>
                <td class="login-wrapper"><h1>新华纸条</h1></td>
            </tr>
            <tr>
                <td><label >性别：
                    <select  class="m-wrap  "  name="sex" style="width: 300px; padding: 2px 0;">
                        <option value="0">女</option>
                        <option value="1">男</option>

                    </select>
                </label></td>
            </tr>
            <tr>
                <td><label>
                    <input type="text" name="userName" placeholder="昵称" maxlength="20" />
                </label></td>
            </tr>
            <tr>
                <td><label>
                    <input type="text" name="grade" placeholder="年级:大一/二/三/四" maxlength="10" required/>
                </label></td>
            </tr>
            <tr>
                <td><label>
                    <input type="text"  name="major"  placeholder="专业：例如：软件工程" maxlength="10" required/>
                </label></td>
            </tr>
            <tr>
                <td><label>
                    <input type="text"  name="hometown" maxlength="20" placeholder="家乡:例如：广东汕头" required/>
                </label></td>
            </tr>
            <tr>
                <td><label>
                    <input type="text"  name="vx"  placeholder="微信联系方式" maxlength="30" required/>
                </label></td>
            </tr>


            <tr>
                <td><label>
                    <textarea  maxlength="200" style=" margin: 0;
                    border:0;border-radius:5px;
                    background-color:rgba(241,241,241,.98);
                    width: 355px;height: 100px;
                    padding: 10px;resize: none;" rows="5" cols="30" name="introduce"
                               placeholder="交友宣言:随便说两句吧"required ></textarea>
                </label></td>
            </tr>
            <tr>
                <td><span class="login">
                <input type="submit" value="存入月老信箱"/>
             <input type="reset" value="重置" />
            </span></td>
            </tr>
            </tr>
            </tr>


        </table>
    </form>
</div>


</body>

</html>